package com.owner.biz;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.owner.entity.Husbandry;

public interface HusbandryBiz {
	List<Husbandry>  getAllHusbandries(String name);//查询全部家政的信息
	 Husbandry getHusbandryById(int id);//根据id查询家政信息
	 int deleteHusbandry(int id);//根据id删除家政信息
	 int updateHusbandry(Husbandry husbandry);//根据id 修改家政
	 List<Husbandry> getbyId(int id);
	 int addHusbandry(Husbandry husbandry);//添加家政信息
}
